﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true"
    CodeFile="ResetPwd.aspx.cs" Inherits="Admin_User_ResetPwd" %>


<asp:Content ID="Content2" ContentPlaceHolderID="pnlMain" runat="Server">
    <div  id="divError" runat="server" ></div>
    <table cellpadding="0" cellspacing="0">
        <tr>
            <td>
                Username
            </td>
            <td>
                <asp:TextBox ID="txtUsername" ReadOnly="true" MaxLength="50" Width="200" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr id="trOldPwd" runat="server">
            <td>
                Old Password
            </td>
            <td>
                <asp:TextBox ID="txtOldPwd" MaxLength="50" Width="200" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" Display="Dynamic" runat="server"
                    ControlToValidate="txtOldPwd" ErrorMessage="Old Password is required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr id="trPassword" runat="server">
            <td>
                Password
            </td>
            <td>
                <asp:TextBox ID="txtPassword" MaxLength="50" Width="200" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvPassword" Display="Dynamic" runat="server" ControlToValidate="txtPassword"
                    ErrorMessage="Password is required"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr id="trConfirmPassword" runat="server">
            <td>
                Confirm Password
            </td>
            <td>
                <asp:TextBox ID="txtConfirmPassword" MaxLength="50" Width="200" runat="server" TextMode="Password"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator2" Display="Dynamic" runat="server" ControlToValidate="txtConfirmPassword" ErrorMessage="Confirm Password is required"></asp:RequiredFieldValidator><asp:CompareValidator
                    ID="CompareValidator1" runat="server" ErrorMessage="Confirm Password does not match with passsword"
                    ControlToCompare="txtPassword" ControlToValidate="txtConfirmPassword"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button ID="btnSave" runat="server" Text="Reset" onclick="btnSave_Click" />&nbsp;&nbsp;<asp:Button ID="btnCancel"
                    runat="server" CausesValidation="false" Text="Cancel" 
                    onclick="btnCancel_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
